<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--定义页头设计样式-->
<div th:fragment="top" style="height: 100px;background-color: burlywood"></div>
<!--定义页脚设计样式-->
<div th:fragment="footer" style="height: 100px;background-color: chocolate"></div>
</body>
</html>